#ifndef _MAC_IF_H
#define _MAC_IF_H

#include <xil_types.h>
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "../message/message.h"



#include "mac.h"


void mac_if_process_llc_msg(message_t * msg);

void mac_if_process_phy_msg(message_t * msg);

void mac_if_process_unit_data_request_msg(message_t * msg);


/** */
void mac_if_handle_data_request(u8* src_addr, u8* dest_addr,  u8* data, size_t length,\
		u8 priority, mac_service_class_t service_class);

/** */
void mac_if_confirm_data(u8 * src_addr, u8 dest_addr, mac_unitdata_trans_status_t trans_status, \
		u8 priority, mac_service_class_t service_class);

/** */
void mac_if_indicate_data(u8* src_addr, u8* dest_addr, u8* data, size_t length,\
		u8 priority, mac_service_class_t service_class);

#endif


